package mylab.starters.mybatis.plugins;

import com.baomidou.mybatisplus.extension.plugins.inner.OptimisticLockerInnerInterceptor;
import mylab.starters.mybatis.OrderlyPlugin;

public class MyOptimisticLockerInnerInterceptor extends OptimisticLockerInnerInterceptor implements OrderlyPlugin {

    @Override
    public int getOrder() {
        return OrderlyPlugin.OptimisticLocker;
    }

    @Override
    public String getDescription() {
        return "乐观锁插件，增加version字段";
    }
}
